package com.gof.example.facade;

import com.gof.example.utils.XmlUtil;
import org.xml.sax.SAXException;

import javax.xml.parsers.ParserConfigurationException;
import java.io.IOException;

/**
 * Created with IntelliJ IDEA.
 * Created by zhiyuan on 2018/5/7 10:52.
 * haiming.fei@tongdun.cn
 */
public class App {

    public static void main(String[] args) throws SAXException, IllegalAccessException, IOException, InstantiationException, ParserConfigurationException, ClassNotFoundException {
//        AbstractFacade facade = XmlUtil.getBean(ModFacade.class);
        AbstractFacade facade = XmlUtil.getBean(MoveBitFacade.class);
        facade.enc();
    }
}
